home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / documents / RFC / rfc / rfc1486.Z / rfc1486 / __headers__.txt next >
Encoding:
Text File  |  1996-11-11  |  14.3 KB  |  218 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Network Working Group                                            M. Rose
  8. Request for Comments: 1486                  Dover Beach Consulting, Inc.                                                              C. Malamud                                           Internet Multicasting Service                                                               July 1993
  9.  
  10.  
  11.                     An Experiment in Remote Printing
  12.  
  13. Status of this Memo
  14.  
  15.    This memo defines an Experimental Protocol for the Internet   community.  It does not specify an Internet standard.  Discussion and   suggestions for improvement are requested.  Please refer to the   current edition of the "IAB Official Protocol Standards" for the   standardization state and status of this protocol.  Distribution of   this memo is unlimited.
  16.  
  17. Table of Contents
  18.  
  19.    1. Introduction ..........................................    1   1.1 The Advantage of a General-Purpose Infrastructure.....    2   2. Procedure .............................................    2   2.1 Naming, Addressing, and Routing ......................    3   2.2 The application/remote-printing Content-Type .........    4   2.3 Usage Example ........................................    5   2.4 Remote Printing without MIME .........................    6   3. The Experiment ........................................    7   3.1 Infrastructure .......................................    8   3.1.1 Zones ..............................................    8   3.1.2 MX records .........................................    8   3.2 Accounting and Privacy ...............................    9   3.3 Mailing list .........................................    9   3.4 Prototype Implementation .............................   10   4. Future Issues .........................................   11   5. Security Considerations ...............................   11   6. Acknowledgements ......................................   11   7. References ............................................   11   8. Authors' Addresses.....................................   12   A.  The image/tiff Content-Type ..........................   13   B.  Uniform Addressing ...................................   13
  20.  
  21. 1.  Introduction
  22.  
  23.    Although electronic mail is preferable as a means of third-party   communication, in some cases it may be necessary to print   information, in hard-copy form, at a remote location.  The remote   output device may consist of a standard line printer, a printer with
  24.  
  25.  
  26.  
  27. Rose & Malamud                                                  [Page 1]
  28.  
  29. RFC 1486           An Experiment in Remote Printing            July 1993
  30.  
  31.  
  32.    multiple fonts and faces, a printer that can reproduce graphics, or a   facsimile device.  Remote output may be accompanied by information   that identifies the intended recipient.  This memo describes a   technique for "remote printing" using the Internet mail   infrastructure.  In particular, this memo focuses on the case in   which remote printers are connected to the international telephone   network.  Furthermore, it describes an experiment in remote printing.
  33.  
  34. 1.1.  The Advantage of a General-Purpose Infrastructure
  35.  
  36.    The experiment in remote printing is about "outreach"; specifically,   integrating the e-mail and facsimile communities.  By providing easy   access to remote printing recipients, enterprise-wide access is   enhanced, regardless of kind of institution (e.g., commercial,   educational, or government), or the size of institution (e.g.,   global, regional, or local).  This approach at outreach allows an   organization to make it easier for the "outside world" to communicate   with the personnel in the organization who are users of facsimile but   not e-mail; e.g., the sales person, the university registrar, or the   (elected) official.  The ease in which the Internet mail   infrastructure can be used to provide this facility is (yet) another   example of the power of a general-purpose infrastructure.
  37.  
  38. 2.  Procedure
  39.  
  40.    When information is to be remotely printed, the user application   constructs an RFC 822 [1] message, containing a "Message-ID" field   along with a "multipart/mixed" content [2] having two parts, the   first being a "application/remote-printing" content-type, and the   second being an arbitrary content-type corresponding to the   information to be printed.  The message is then sent to the remote   printer server's electronic mail address.
  41.  
  42.    It should be noted that not all content-types have a natural printing   representation, e.g., an "audio" or "video" content.  For this   reason, the second part of the "multipart/mixed" content should be   one of the following:
  43.  
  44.       text/plain, message/rfc822, application/postscript image/tiff      (defined in Appendix A), any multipart
  45.  
  46.    Note that:
  47.  
  48.    (1)  With the "text/plain" content-type, not all character sets may        be available for printing.
  49.  
  50.    (2)  With the "message" content-type, the subordinate content will be        processed recursively.
  51.  
  52.  
  53.  
  54. Rose & Malamud                                                  [Page 2]
  55.  
  56. RFC 1486           An Experiment in Remote Printing            July 1993
  57.  
  58.  
  59.    (3)  With the "application/postscript" content-type, the remote        printer server should evaluate the contents in a safe execution        environment.
  60.  
  61.    (4)  With the "multipart" content-type the subordinate contents will        be processed recursively: for a "multipart/mixed" or        "multipart/digest" content, each subordinate content will start        on a new page, whilst for a "multipart/parallel" content, all        subordinate contents will, if possible, start on the same page.        Naturally, when processing a "multipart/alternative" content,        only one subordinate content will be printed.
  62.  
  63.    When the remote printer server finishes its processing, a message is   returned to the originator, indicating either success or failure.
  64.  
  65. 2.1.  Naming, Addressing, and Routing
  66.  
  67.    A printer is identified by a telephone number which corresponds to a   G3-facsimile device connected to the international telephone network,   e.g.,
  68.  
  69.         +1 415 968 2510
  70.  
  71.    where "+1" indicates the IDDD country code, and the remaining string   is a telephone number within that country.  This number is used to   construct the address of a remote printer server, which forms the   recipient address for the message, e.g.,
  72.  
  73.         remote-printer@0.1.5.2.8.6.9.5.1.4.1.tpc.int
  74.  
  75.    That is, the local-part of the remote printer server's address is   ALWAYS "remote-printer", and the domain-part is constructed by   reversing the telephone number, converting each digit to a domain-   label, and being placed under "tpc.int."
  76.  
  77.    The message is routed in exactly the same fashion as all other   electronic mail, i.e., using the MX algorithm [3].  Since a remote   printer server might be able to access many printers, the wildcarding   facilities of the DNS [4,5] are used accordingly.  For example, if a   remote printer server residing at "dbc.mtview.ca.us" was willing to   access any printer with a telephone number prefix of
  78.  
  79.         +1 415 968
  80.  
  81.       then this resource record might be present
  82.  
  83.         *.8.6.9.5.1.4.1.tpc.int.    IN MX 10 dbc.mtview.ca.us.
  84.  
  85.  
  86.  
  87.  
  88. Rose & Malamud                                                  [Page 3]
  89.  
  90. RFC 1486           An Experiment in Remote Printing            July 1993
  91.  
  92.  
  93.    Naturally, if several remote printer servers were willing to access   any printer in that prefix, multiple MX resource records would be   present.
  94.  
  95.    It should be noted that the presence of a wildcard RR which matches a   remote printer server's address does not imply that the corresponding   telephone number is valid, or, if valid, that a G3-facsimile device   is connected at the phone number.
  96.  
  97. 2.2.  The application/remote-printing Content-Type
  98.  
  99.    (1)  MIME type name: application
  100.  
  101.    (2)  MIME subtype name: remote-printing
  102.  
  103.    (3)  Required parameters: none
  104.  
  105.    (4)  Optional parameters: none
  106.  
  107.    (5)  Encoding considerations: 7bit preferred
  108.  
  109.    (6)  Security considerations: none
  110.  
  111.    The "application/remote-printing" content-type contains originator   and recipient information used when generating a cover sheet.  Using   the ABNF notation of RFC 822, the syntax for this content is:
  112.  
  113.         <content>         ::=  <recipient-info> CRLF                               <originator-info>                               [CRLF <cover-info>]
  114.  
  115.         <recipient-info>  ::=   "Recipient"    ":" <value> CRLF                               <address-info>        <originator-info> ::=   "Originator"   ":" <value> CRLF                               <address-info>
  116.  
  117.         <address-info>    ::=  ["Title"        ":" <value> CRLF]                               ["Department"   ":" <value> CRLF]                               ["Organization" ":" <value> CRLF]                               ["Mailstop"     ":" <value> CRLF]                               ["Address"      ":" <value> CRLF]                               ["Telephone"    ":" <value> CRLF]                                "Facsimile"    ":" <value> CRLF                               ["Email"        ":" <value> CRLF]        <value>           ::=  *text                               [CRLF LWSP-char     <value>     ]
  118.  
  119.         <cover-info>      ::= *(*text CRLF)
  120.  
  121.  
  122.  
  123. Rose & Malamud                                                  [Page 4]
  124.  
  125. RFC 1486           An Experiment in Remote Printing            July 1993
  126.  
  127.  
  128.    Note that the value of the "Email" field is an RFC 822 mailbox   address.
  129.  
  130. 2.3.  Usage Example
  131.  
  132.    Suppose someone wished to send the author some comments on this memo   using this facility.  The message constructed might look like this:
  133.  
  134.         To: remote-printer@0.1.5.2.8.6.9.5.1.4.1.tpc.int        From: "John Q. Public" <jpublic@tpd.org>        Date: Sun, 11 Apr 1993 20:34:13 -0800        Subject: Comments on "An Experiment in Remote Printing"        Message-ID: <19930411203413000.456@tpd.org>        MIME-Version: 1.0        Content-Type: multipart/mixed;                boundary="----- =_aaaaaaaaaa0"
  135.  
  136.         ------- =_aaaaaaaaaa0        Content-Type: application/remote-printing
  137.  
  138.         Recipient:    Marshall Rose        Title:        Principal        Organization: Dover Beach Consulting, Inc.        Address:      420 Whisman Court                      Mountain View, CA  94043-2186                      US        Telephone:    +1 415 968 1052        Facsimile:    +1 415 968 2510
  139.  
  140.         Originator:   John Q. Public        Organization: The Public Domain        Telephone:    +1 801 555 1234        Facsimile:    +1 801 555 6789        EMail:        "John Q. Public" <jpublic@tpd.org>
  141.  
  142.         Any text appearing here would go on the cover-sheet.
  143.  
  144.         ------- =_aaaaaaaaaa0        Content-Type: text/plain; charset="us-ascii"
  145.  
  146.         Here are my comments on your draft.
  147.  
  148.          ...
  149.  
  150.         ------- =_aaaaaaaaaa0--
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157. Rose & Malamud                                                  [Page 5]
  158.  
  159. RFC 1486           An Experiment in Remote Printing            July 1993
  160.  
  161.  
  162. 2.4.  Remote Printing without MIME
  163.  
  164.    If the originator's user agent doesn't support MIME, (e.g., the   originator accesses the Internet mail infrastructure via a gateway in   another mail dominion), then it is still possible for remote printing   to occur, albeit in a more limited fashion.  Specifically, because a   "application/remote-printing" content is not present, cover sheet   information must be derived from some other source; and, the message   body will be treated as a "text/plain" content.
  165.  
  166.    Typically, a cover sheet consists of three sections:
  167.  
  168.    o    information identifying the originator;     o    information identifying the recipient; and,
  169.  
  170.    o    additional information supplied by the remote printer server.
  171.  
  172.    To identify the originator, the remote printer server will use the   message headers, usually by stripping any trace headers (i.e.,   "Received" and "Return-Path") and then re-ordering the remaining   headers starting with the "From" header.
  173.  
  174.    To identify the recipient, an alternative syntax is used for   recipient addressing, in which the local-part of the remote printer   server's address consists of "remote-printer" followed by an RFC 822   atom, e.g.,
  175.  
  176.    remote-printer.Arlington_Hewes/Room_403@0.1.5.2.8.6.9.5.1.4.1.tpc.int
  177.  
  178.    This mailbox syntax is purposefully restricted in the interests of   pragmatism.
  179.  
  180.    The atom following "remote-printer" is considered an opaque string   for use in recipient identification when generating a cover sheet.
  181.  
  182.    To paraphrase RFC 822, an atom is defined as:
  183.  
  184.     atom    = 1*atomchar
  185.  
  186.     atomchar=   <any upper or lowercase alphabetic character (A-Z a-z)>              / <any digit (0-9)>              / "!" / "#" / "$" / "%" / "&" / "'" / "*" / "+"              / "-" / "/" / "=" / "?" / "^" / "_" / "`" / "{"              / "|" / "}" / "~"
  187.  
  188.    When generating a cover sheet using this opaque string, the remote   printer server will interpret an underscore character ("_") as a
  189.  
  190.  
  191.  
  192. Rose & Malamud                                                  [Page 6]
  193.  
  194. RFC 1486           An Experiment in Remote Printing            July 1993
  195.  
  196.  
  197.    space, and a solidus character ("/") as an end-of-line sequence.  A   remote printer server will interpret two consecutive underscore   characters in the opaque string as a single underscore, and two   consecutive solidus characters as a single solidus.  So, the opaque   string,
  198.  
  199.         Arlington_Hewes/Room_403
  200.  
  201.    used in the example above might appear on the cover sheet as
  202.  
  203.         To: Arlington Hewes            Room 403
  204.  
  205.    Note that some Internet mail software (especially gateways from   outside the Internet) impose stringent limitations on the size of a   mailbox-string.  Thus, originating user agents should take care in   limiting the local-part to no more than 70 or so characters.
  206.  
  207.    Note that by using the alternative syntax for recipient addressing,   it is completely legal to send non- textual messages in which the   cover sheet information is automatically derived -- simply by   including "MIME-Version:" and "Content-Type:" headers in the message,   but omitting the initial "application/remote-printing" content, e.g.,
  208.  
  209. To: remote-printer.Arlington_Hewes/Room_403@0.1.5.2.8.6.9.5.1.4.1.tpc.int
  210. cc: Marshall Rose <mrose@dbc.mtview.ca.us>
  211. From: Carl Malamud <carl@malamud.com>
  212. Date: Sun, 18 Jul 1993 09:14:13 -0500
  213. Subject: proposal for enhancement
  214. Message-ID: <19930718141413000.123@malamud.com>
  215. MIME-Version: 1.0
  216. Content-Type: application/postcript
  217.  
  218.